package com.rjwh.dingdong.client.mvp.presenter;

import com.aishua.lib.task.AsResult;

/**
 * Created by wby on 2016/6/1.
 */
public interface ICommunityPostDetailPresenter {

    /**
     * 获取状态
     *
     * @param topicid
     */
    public void doGetPostBasicData(String topicid);

    /**
     * 收藏
     *
     * @param topicid
     * @param actionId
     */
    public void doCollection(String topicid, String actionId);

    /**
     * 点赞
     */
    public void doPraise(String topicid, String actionId);

    /**
     * 请求结果
     *
     * @param businessType
     * @param mAsResult
     * @param isRefresh
     */
    public void onServerDataAcquired(int businessType, AsResult mAsResult, boolean isRefresh);
}
